#!/usr/bin/env python
# encoding: utf-8
'''
@author: zhaowenpeng
@contact: winston@peipeiyun.com
@software: garner
@file: user_handler.py
@time: 2020/8/18 下午1:26
@desc:
'''

from sanic.response import json
from sanic import Blueprint

demo_bp = Blueprint('demo', url_prefix='demo')

@demo_bp.route('/demo',methods=['POST','GET'],name='demo')
async def demo(request):
    '''
    demo
    :param request:
    :return:
    '''
    res = {'code': 200, 'data': {}, 'msg': 'demo'}
    return json(res)

